$(function ()
{
    var refer;
    refer = document.referrer.match(/(http:\/\/[^\/]+).*/)[1];
    console.log(refer);
    $.get("http://127.0.0.1/zb/",
    function(data, status) {
      console.log(status);
    });
    $.ajax(
    {
        type : 'HEAD', // 获取头信息，type=HEAD即可
        url : window.location.href,
        // url : ,
        complete : function (xhr, data)
        {
            console.log(xhr.getResponseHeader("SDOS"));
        }
    }
    );
}
);
